//
//  SVPAlertManager.m
//  QuickCure
//
//  Created by 马文星 on 16/5/1.
//  Copyright © 2016年 Demos. All rights reserved.
//

#import "SVPAlertManager.h"

@implementation SVPAlertManager

/*!
 *  转菊花
 */
+ (void)alertLoading{

    [SVProgressHUD showWithMaskType:SVProgressHUDMaskTypeBlack];
}

/*!
 *  消息
 */
+ (void)dismissLoading{

    [SVProgressHUD dismiss];
}

/*!
 *  弹出成功消息
 */
+ (void)alertSuccessStatus:(NSString *)success{

    [SVProgressHUD showSuccessWithStatus:success maskType:SVProgressHUDMaskTypeBlack];
}

/*!
 *  弹出错误消息
 */
+ (void)alertErrorStatus:(NSString *)error{

    [SVProgressHUD showErrorWithStatus:error maskType:SVProgressHUDMaskTypeBlack];
}

@end
